<?php

class ErrorAction extends Action {

    public function _initialize() {
        if (!$this->my) {
            echo '很抱歉，您还未登陆<script type="text/javascript">window.location.href="'.SITE_URL.'/login"</script>';
            exit;
        }
    }
}
?>